package lab02.Test26;


import java.util.Scanner;

/**
 * Created by Administrator on 2017/11/8.
 */
public class ExceptionTest {
    public static void main(String[] args) {
        int a = 3;
        int b = 0;
        try {
            int c = a/b;
        }catch (ArithmeticException e){
            System.out.println("除数为0！！");
        }finally{
            System.out.println("最后执行的语句！");
        }
    }
}
